From dfa60cde53a7a856fd400e1772758de8d4e104e2 Mon Sep 17 00:00:00 2001 From: Ceph Maintainers Date: Wed, 7 Jun 2017 09:39:39 +0100 Subject: [PATCH] arch Gbp-Pq: Name arch.patch --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 32e273f1d..68647b6c6 100644 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,7 @@ AC_CHECK_PROG(YASM_CHECK, yasm, yes) if test x"$YASM_CHECK" = x"yes"; then if yasm -f elf64 src/common/crc32c_intel_fast_asm.S -o /dev/null; then echo 'we have a modern and working yasm' - if test `arch` = "x86_64" ; then + if test `dpkg-architecture -qDEB_BUILD_GNU_CPU` = "x86_64" ; then echo 'we are x86_64' arch_x32=0 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[ -- 2.30.2